﻿2026-06-21T23:36:28.9970156Z ##[group]Run cargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'
2026-06-21T23:36:28.9973752Z [36;1mcargo nextest run --workspace --no-fail-fast -E '(package(spt-daemon) & kind(test) & binary(/^(attach|brain_swap|broker|budget|daemon_e2e|daemon_lifecycle_real_brain|digest|dispatch|driven_by_selfheal|handoff|idempotent|inject_control_wedge|input_ack_deadlock|resume|shellchan|two_origin_spanning|twohost)$/)) | (package(spt) & kind(test) & binary(/^(attach_wedge_e2e|bind_cwd_project_e2e|brain_respawn_rename|brain_restart_psyche_dup_e2e|brain_split|brain_survive|dummy_harness_e2e|gateway_owner_shell_e2e|job_escape_e2e|livehost_bootgate_e2e|livehost_bootrace_e2e|livehost_nonresident_e2e|livehost_psyche_fail_e2e|n1_pairing|oneliner_e2e|resume_template_e2e|unhost_psyche_reap_e2e)$/)) | (package(spt-term) & kind(test))'[0m
2026-06-21T23:36:29.0194619Z shell: /usr/bin/bash -e {0}
2026-06-21T23:36:29.0194856Z env:
2026-06-21T23:36:29.0195052Z   SPT_REGISTRY_BUSY_TIMEOUT_MS: 30000
2026-06-21T23:36:29.0195301Z   RUSTFLAGS: -C link-arg=-fuse-ld=mold
2026-06-21T23:36:29.0195534Z ##[endgroup]
2026-06-21T23:36:30.1268457Z     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
2026-06-21T23:36:30.2447691Z ────────────
2026-06-21T23:36:30.2448105Z  Nextest run ID 72b79bab-3797-4f43-b7bd-62d6f620a486 with nextest profile: default
2026-06-21T23:36:30.2448550Z     Starting 90 tests across 39 binaries (48 binaries skipped)
2026-06-21T23:36:45.1045011Z         PASS [  14.859s] ( 1/90) spt::attach_wedge_e2e attach_wedge_dead_child_plus_dropped_pump_does_not_wedge_the_broker
2026-06-21T23:36:54.8964272Z         PASS [   9.792s] ( 2/90) spt::bind_cwd_project_e2e endpoint_run_records_cwd_and_appears_under_its_project
2026-06-21T23:37:36.6103340Z         PASS [  41.714s] ( 3/90) spt::brain_respawn_rename brain_respawns_onto_applied_bytes_after_in_place_rename
2026-06-21T23:38:04.7040919Z         PASS [  28.093s] ( 4/90) spt::brain_restart_psyche_dup_e2e brain_restart_leaves_exactly_one_psyche_per_endpoint
2026-06-21T23:38:27.3765048Z         PASS [  22.673s] ( 5/90) spt::brain_split broker_survives_brain_kill_and_respawns_it
2026-06-21T23:38:50.1141431Z         PASS [  22.738s] ( 6/90) spt::brain_split seed_anchor_survives_brain_cycle
2026-06-21T23:39:27.4204003Z         PASS [  37.306s] ( 7/90) spt::brain_survive pty_and_quic_survive_brain_process_restart_onto_swapped_binary
2026-06-21T23:39:42.2934656Z         PASS [  14.873s] ( 8/90) spt::dummy_harness_e2e endpoint_run_attach_awaits_online_before_attaching
2026-06-21T23:39:52.8725351Z         PASS [  10.579s] ( 9/90) spt::dummy_harness_e2e endpoint_run_brings_up_a_long_lived_dummy_harness_and_rc_attaches
2026-06-21T23:39:53.1652312Z         PASS [   0.293s] (10/90) spt::gateway_owner_shell_e2e gateway_typed_owner_owns_a_shell_on_every_path_keyed_on_id
2026-06-21T23:39:53.1690423Z         PASS [   0.004s] (11/90) spt::job_escape_e2e daemon_survives_terminal_close_via_session_detachment
2026-06-21T23:40:10.7135363Z         PASS [  17.544s] (12/90) spt::livehost_bootgate_e2e cold_start_does_not_revive_a_sessionless_online_latched_perch
2026-06-21T23:40:38.4732470Z         PASS [  27.760s] (13/90) spt::livehost_bootrace_e2e netless_online_live_agent_is_hosted_by_the_real_daemon_brain
2026-06-21T23:40:58.2912317Z         PASS [  19.818s] (14/90) spt::livehost_nonresident_e2e online_live_agent_with_fast_exiting_psyche_stamps_parent_and_clears_phantom
2026-06-21T23:41:12.6896777Z         PASS [  14.398s] (15/90) spt::livehost_psyche_fail_e2e online_live_agent_with_missing_psyche_binary_stamps_a_harness_reachable_error
2026-06-21T23:41:12.6937703Z         PASS [   0.004s] (16/90) spt::n1_pairing new_brain_serves_against_old_broker
2026-06-21T23:41:12.6977918Z         PASS [   0.004s] (17/90) spt::oneliner_e2e at_logon_task_launches_daemon_in_background_not_foreground
2026-06-21T23:41:12.7011633Z         PASS [   0.003s] (18/90) spt::oneliner_e2e install_script_against_staged_release
2026-06-21T23:41:27.5927944Z         PASS [  14.891s] (19/90) spt::resume_template_e2e endpoint_run_resume_selects_resume_template_in_recorded_cwd
2026-06-21T23:41:47.2863837Z         PASS [  19.694s] (20/90) spt::unhost_psyche_reap_e2e endpoint_stop_reaps_the_hosted_psyche_process
2026-06-21T23:41:47.4314443Z         PASS [   0.145s] (21/90) spt-daemon::attach attach_registers_remote_drive_detection
2026-06-21T23:41:47.5054442Z         PASS [   0.074s] (22/90) spt-daemon::attach attach_survives_target_brain_restart_exactly_once
2026-06-21T23:41:47.5421505Z         PASS [   0.037s] (23/90) spt-daemon::attach broker_spawns_the_pty_child_in_the_requested_cwd
2026-06-21T23:41:47.5765721Z         PASS [   0.034s] (24/90) spt-daemon::attach controller_restart_with_viewer_no_displace_and_viewer_survives
2026-06-21T23:41:47.6123385Z         PASS [   0.036s] (25/90) spt-daemon::attach controller_viewer_matrix_and_loud_take
2026-06-21T23:41:47.6214693Z         PASS [   0.009s] (26/90) spt-daemon::attach handoff_seeds_resume_cursor_and_resubscribes_for_resume
2026-06-21T23:41:47.6763482Z         PASS [   0.055s] (27/90) spt-daemon::attach local_attach_via_loopback_conn_rides_the_same_pump
2026-06-21T23:41:47.7222963Z         PASS [   0.046s] (28/90) spt-daemon::attach loopback_attach_to_a_prepopulated_ring_delivers_without_deadlock
2026-06-21T23:41:47.7533033Z         PASS [   0.031s] (29/90) spt-daemon::attach loopback_self_dial_is_refused_local_uses_fallback_transport
2026-06-21T23:41:47.7632547Z         PASS [   0.010s] (30/90) spt-daemon::attach re_serve_resets_resume_cursor_after_a_pre_attached_consume
2026-06-21T23:41:47.8407078Z         PASS [   0.077s] (31/90) spt-daemon::attach remote_attach_drives_a_real_pty_cross_daemon
2026-06-21T23:41:47.9293891Z         PASS [   0.089s] (32/90) spt-daemon::attach resize_is_controller_exclusive
2026-06-21T23:41:47.9917823Z         PASS [   0.062s] (33/90) spt-daemon::attach same_origin_re_subscribe_does_not_displace
2026-06-21T23:41:48.0651220Z         PASS [   0.073s] (34/90) spt-daemon::attach spt_hosted_bringup_then_cross_node_attach_drives_the_pty
2026-06-21T23:41:50.0992478Z         PASS [   2.034s] (35/90) spt-daemon::attach wedged_viewer_does_not_stall_controller
2026-06-21T23:41:50.1330021Z         PASS [   0.034s] (36/90) spt-daemon::brain_swap brain_only_update_swaps_logic_with_zero_endpoint_interruption
2026-06-21T23:41:50.1426591Z         PASS [   0.010s] (37/90) spt-daemon::broker ack_false_input_suppresses_applied_frame
2026-06-21T23:41:50.1527463Z         PASS [   0.010s] (38/90) spt-daemon::broker broker_hosts_pty_child_streams_output_and_accepts_input
2026-06-21T23:41:50.1640684Z         PASS [   0.011s] (39/90) spt-daemon::broker controller_writer_reorder_consumer_view_stays_monotonic_and_session_live
2026-06-21T23:41:50.1745742Z         PASS [   0.010s] (40/90) spt-daemon::broker dead_session_subscribe_does_not_hang
2026-06-21T23:41:50.1850269Z         PASS [   0.010s] (41/90) spt-daemon::broker endpoint_keyed_inject_reaches_hosted_pty
2026-06-21T23:41:50.3128787Z         PASS [   0.128s] (42/90) spt-daemon::broker exactly_once_preserved_on_no_ack_path
2026-06-21T23:41:50.3225468Z         PASS [   0.010s] (43/90) spt-daemon::broker spawn_env_reaches_child
2026-06-21T23:41:50.3325697Z         PASS [   0.010s] (44/90) spt-daemon::broker wall_b_endpoint_run_env_then_send_reaches_pty
2026-06-21T23:41:50.3439831Z         PASS [   0.011s] (45/90) spt-daemon::budget measure_dormant_seat_budget
2026-06-21T23:41:50.9812871Z         PASS [   0.637s] (46/90) spt-daemon::daemon_e2e daemon_hosts_lifecycle_and_survives_brain_restart
2026-06-21T23:42:03.2443042Z         PASS [  12.263s] (47/90) spt-daemon::daemon_lifecycle_real_brain real_brain_process_hosts_the_psyche_for_an_online_live_endpoint
2026-06-21T23:42:03.3746815Z         PASS [   0.130s] (48/90) spt-daemon::digest harness_hosted_digest_projects_and_pushes_deltas
2026-06-21T23:42:03.3885805Z         PASS [   0.014s] (49/90) spt-daemon::dispatch classify_routes_a_node_label_feed_to_registry
2026-06-21T23:42:03.5542995Z         PASS [   0.166s] (50/90) spt-daemon::dispatch dispatcher_applies_a_notif_feed_undriven
2026-06-21T23:42:03.6731709Z         PASS [   0.119s] (51/90) spt-daemon::dispatch dispatcher_funnels_wan_messages_undriven
2026-06-21T23:42:03.8327851Z         PASS [   0.160s] (52/90) spt-daemon::dispatch dispatcher_serves_a_cross_node_shell_link
2026-06-21T23:42:03.9151624Z         PASS [   0.082s] (53/90) spt-daemon::dispatch dispatcher_serves_a_file_fetch_undriven
2026-06-21T23:42:04.0323733Z         PASS [   0.117s] (54/90) spt-daemon::dispatch dispatcher_serves_a_remote_drive_attach_undriven
2026-06-21T23:42:04.1878885Z         PASS [   0.155s] (55/90) spt-daemon::dispatch dispatcher_serves_a_subnet_serve_probe
2026-06-21T23:42:04.5483812Z         PASS [   0.360s] (56/90) spt-daemon::dispatch dispatcher_serves_a_sync_pull_undriven
2026-06-21T23:42:04.6567138Z         PASS [   0.108s] (57/90) spt-daemon::dispatch dispatcher_serves_an_update_pull_undriven
2026-06-21T23:42:04.8591492Z         PASS [   0.202s] (58/90) spt-daemon::dispatch dispatcher_surfaces_a_remote_won_notif_at_the_winning_node
2026-06-21T23:42:04.9789648Z         PASS [   0.120s] (59/90) spt-daemon::dispatch dispatcher_survives_an_unknown_stream
2026-06-21T23:42:05.2981410Z         PASS [   0.319s] (60/90) spt-daemon::driven_by_selfheal gap_a_live_session_controller_by_is_ambiguous_so_reconcile_must_not_clear
2026-06-21T23:42:05.3040315Z         PASS [   0.006s] (61/90) spt-daemon::driven_by_selfheal gap_b_sessionless_perch_reconcile_offlines_and_clears_driven_by
2026-06-21T23:42:05.3325578Z         PASS [   0.028s] (62/90) spt-daemon::handoff brain_restart_survives_gaplessly_with_fresh_gen_start
2026-06-21T23:42:05.3545201Z         PASS [   0.022s] (63/90) spt-daemon::idempotent pty_writes_are_exactly_once_across_brain_crashes
2026-06-21T23:42:08.3691047Z         PASS [   3.015s] (64/90) spt-daemon::inject_control_wedge a_backed_up_controller_does_not_wedge_the_session
2026-06-21T23:42:11.7179775Z         PASS [   3.349s] (65/90) spt-daemon::inject_control_wedge a_journaled_input_wedge_does_not_starve_a_concurrent_rc_attach
2026-06-21T23:42:11.9494603Z         PASS [   0.231s] (66/90) spt-daemon::inject_control_wedge g1_choreography_happy_path_payload_reaches_pty_and_controller_keeps_control
2026-06-21T23:42:28.6646982Z         FAIL [  16.705s] (67/90) spt-daemon::inject_control_wedge g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input
2026-06-21T23:42:28.6648087Z   stdout ───
2026-06-21T23:42:28.6648732Z 
2026-06-21T23:42:28.6648851Z     running 1 test
2026-06-21T23:42:28.6649393Z     test g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input ... FAILED
2026-06-21T23:42:28.6649739Z 
2026-06-21T23:42:28.6649845Z     failures:
2026-06-21T23:42:28.6650010Z 
2026-06-21T23:42:28.6650149Z     failures:
2026-06-21T23:42:28.6650464Z         g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input
2026-06-21T23:42:28.6650764Z 
2026-06-21T23:42:28.6651065Z     test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 9 filtered out; finished in 16.70s
2026-06-21T23:42:28.6651436Z 
2026-06-21T23:42:28.6651579Z   stderr ───
2026-06-21T23:42:28.6651803Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:28.6652195Z     ENDPOINT_INJECT:xlate-g2-ep (57 bytes → translation binary)
2026-06-21T23:42:28.6652825Z     TRANSLATION_FAULT: no {commit} within INJECT_COMMIT_DEADLINE — terminating binary, reverting to raw inject
2026-06-21T23:42:28.6653241Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:28.6653769Z     ENDPOINT_INJECT:xlate-g2-ep (35 bytes, idle-direct — activity not yet gated)
2026-06-21T23:42:28.6654098Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:28.6672152Z     === W2 G2 NO-COMMIT FAULT GATE: delivered=true op_flushed=false sessions_answered=true delivered2=true raw_fallback_reached=false (op_flushed=true → controller input never wedged; raw_fallback → binary faulted) ===
2026-06-21T23:42:28.6672890Z 
2026-06-21T23:42:28.6673363Z     thread 'g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input' (3820612) panicked at crates/spt-daemon/tests/inject_control_wedge.rs:1196:5:
2026-06-21T23:42:28.6674695Z     after the commit deadline the floor must RELEASE and buffered operator keystrokes must flush to the PTY — the controller's input must NOT wedge (the mandatory bounded-buffer guard; doyle non-negotiable = never park forever)
2026-06-21T23:42:28.6675644Z     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-06-21T23:42:28.6676068Z     PUMP_IPC_READER: exited
2026-06-21T23:42:28.6676252Z 
2026-06-21T23:42:29.1953261Z         PASS [   0.529s] (68/90) spt-daemon::inject_control_wedge g3_content_free_ping_never_duplicates_operator_keystrokes_into_binary
2026-06-21T23:42:29.3085541Z         PASS [   0.113s] (69/90) spt-daemon::inject_control_wedge g4_translation_child_is_reaped_no_zombie_after_session_down
2026-06-21T23:42:29.5868563Z         PASS [   0.278s] (70/90) spt-daemon::inject_control_wedge injecting_a_large_payload_into_a_stdin_ignoring_child
2026-06-21T23:42:32.8970699Z         PASS [   3.310s] (71/90) spt-daemon::inject_control_wedge p0_paste_wedge_parked_write_does_not_starve_attach_or_wedge_broker
2026-06-21T23:42:33.2294722Z         PASS [   0.332s] (72/90) spt-daemon::inject_control_wedge w5_a1_locally_driven_session_reports_controller_by_none
2026-06-21T23:42:37.2732383Z         FAIL [   4.044s] (73/90) spt-daemon::inject_control_wedge w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T23:42:37.2733268Z   stdout ───
2026-06-21T23:42:37.2733424Z 
2026-06-21T23:42:37.2733530Z     running 1 test
2026-06-21T23:42:37.2733944Z     test w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some ... FAILED
2026-06-21T23:42:37.2734302Z 
2026-06-21T23:42:37.2734402Z     failures:
2026-06-21T23:42:37.2734536Z 
2026-06-21T23:42:37.2734649Z     failures:
2026-06-21T23:42:37.2734974Z         w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T23:42:37.2735279Z 
2026-06-21T23:42:37.2735555Z     test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 9 filtered out; finished in 4.03s
2026-06-21T23:42:37.2735924Z 
2026-06-21T23:42:37.2736058Z   stderr ───
2026-06-21T23:42:37.2736287Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:37.2736544Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:37.2736803Z     PUMP_IPC_READER: spawned
2026-06-21T23:42:37.2737938Z     === W5 A2 CHARACTERIZATION: subscribed=true driven_after_attach=Some("a6a8a994d7d41528ed5befa48a5981ac3cd710dfc7b4ce9ce1552d983f1f772f") cby_attached=Some(Some("a6a8a994d7d41528ed5befa48a5981ac3cd710dfc7b4ce9ce1552d983f1f772f")) session_still_listed=true cby_after_abandon=Some(None) driven_after_abandon=None ===
2026-06-21T23:42:37.2740103Z     === W5 A2 VERDICT: controller_by==None sufficient for Gap A? true (false ⇒ wedged slot stays Some(origin) ⇒ the lost-detach fix must be broker-side eviction — a reconcile `controller_by==None` check alone does NOT catch this; it only catches A1 / Gap B) ===
2026-06-21T23:42:37.2740800Z 
2026-06-21T23:42:37.2741194Z     thread 'w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some' (3820761) panicked at crates/spt-daemon/tests/inject_control_wedge.rs:1671:9:
2026-06-21T23:42:37.2742619Z     A2: an abandoned remote controller on an IDLE session must STILL read controller_by == Some(origin) (the slot does not self-clear without output-drain-evict or a clean EOF) — proving controller_by==None is NOT a sufficient Gap-A signal for the production wedged-pump case; the lost-detach clear must be broker-side eviction. Got: Some(None)
2026-06-21T23:42:37.2743833Z     note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2026-06-21T23:42:37.2744076Z 
2026-06-21T23:42:39.1449754Z         PASS [   1.872s] (74/90) spt-daemon::input_ack_deadlock input_flood_through_serve_attach_does_not_deadlock_broker
2026-06-21T23:42:41.1869453Z         PASS [   2.042s] (75/90) spt-daemon::resume cold_start_resumes_all_sessions_from_the_broker_cursor
2026-06-21T23:42:45.3965112Z         PASS [   4.209s] (76/90) spt-daemon::resume resume_below_ring_floor_clamps_forward_without_gap_error
2026-06-21T23:42:46.2116956Z         PASS [   0.815s] (77/90) spt-daemon::resume resume_mode_brain_spawning_new_sessions_delivers_each
2026-06-21T23:42:46.2784561Z         PASS [   0.067s] (78/90) spt-daemon::shellchan hung_shell_stalls_no_other_owner
2026-06-21T23:42:46.3896679Z         PASS [   0.111s] (79/90) spt-daemon::shellchan stdin_receipt_delivers_spooled_frames_exactly_once
2026-06-21T23:42:46.4579105Z         PASS [   0.068s] (80/90) spt-daemon::two_origin_spanning one_source_two_consumers_spans_and_merges
2026-06-21T23:42:46.4656338Z         PASS [   0.008s] (81/90) spt-daemon::twohost two_host_ladder_role_a
2026-06-21T23:42:46.4711720Z         PASS [   0.005s] (82/90) spt-daemon::twohost two_host_ladder_role_b
2026-06-21T23:42:46.4862946Z         PASS [   0.015s] (83/90) spt-term::dsr drain_forwards_child_output
2026-06-21T23:42:46.5115434Z         PASS [   0.025s] (84/90) spt-term::inject ctrl_c_interrupts_the_child
2026-06-21T23:42:46.5263463Z         PASS [   0.015s] (85/90) spt-term::inject send_line_reaches_child_and_preserves_order
2026-06-21T23:42:47.5322468Z         PASS [   1.006s] (86/90) spt-term::stream bounded_backpressure_stalls_an_unconsumed_reader
2026-06-21T23:42:47.5372574Z         PASS [   0.005s] (87/90) spt-term::stream delivers_every_value_under_resize
2026-06-21T23:42:47.5428288Z         PASS [   0.006s] (88/90) spt-term::surface captures_child_output_off_the_pty
2026-06-21T23:42:47.5475706Z         PASS [   0.005s] (89/90) spt-term::surface resize_under_load_does_not_hang_or_panic
2026-06-21T23:42:47.5525490Z         PASS [   0.005s] (90/90) spt-term::surface spawn_program_in_lands_the_child_in_the_requested_cwd
2026-06-21T23:42:47.5526311Z ────────────
2026-06-21T23:42:47.5526607Z      Summary [ 377.308s] 90 tests run: 88 passed, 2 failed, 0 skipped
2026-06-21T23:42:47.5527341Z         FAIL [  16.705s] (67/90) spt-daemon::inject_control_wedge g2_no_commit_deadline_faults_binary_and_does_not_wedge_controller_input
2026-06-21T23:42:47.5528339Z         FAIL [   4.044s] (73/90) spt-daemon::inject_control_wedge w5_a2_abandoned_remote_controller_idle_session_keeps_controller_by_some
2026-06-21T23:42:47.5552402Z error: test run failed
2026-06-21T23:42:47.5581083Z ##[error]Process completed with exit code 100.
